<html>
	<title>To test the floting point number</title>
	<body>
		<?php
			$float = 1001;
			if(is_float($float)){
			   echo "$float : is float";
			}else{
			   echo "$float : is not float";
			}

			echo "<br />";
			$float = 1001.98;
			if(is_float($float)){
			   echo "$float : is float";
			}else{
			   echo "$float : is not float";
			}
		?>
	</body>
</html>